package com.cashmanager.server;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import com.cashmanager.client.CashServiceRpc;
import com.cashmanager.client.CashierServiceRpc;
import com.cashmanager.server.db.CashDaoImpl;
import com.cashmanager.server.db.CashierCompanyDaoImpl;
import com.cashmanager.server.db.CashierDaoImpl;
import com.cashmanager.shared.vo.Cash;
import com.cashmanager.shared.vo.CashierCompany;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

/**
 * The server side implementation of the RPC service.
 */
@SuppressWarnings("serial")
public class CashierServiceRpcImpl extends RemoteServiceServlet implements
		CashierServiceRpc {
	private final Logger logger = Logger.getLogger(CashierServiceRpcImpl.class);
	private final CashierCompanyDaoImpl daoImpl = new CashierCompanyDaoImpl();
	@Override
	public void addCompany(CashierCompany company) {
		daoImpl.addCompany(company);
	}
	@Override
	public void updCompany(CashierCompany com) {
		
	}
	
}
